<?php

namespace App\Api\Logic\Validate;

class WithdrawalValidate extends BaseValidate
{
    protected $rule = [
        'money'=>'required',
        'bank_id'=>'required',
        'page'=>'required',
        'pageSize'=>'required'
    ];

    protected $message = [
        'money.required'=>'请输入提现的金额',
        'bank_id.required'=>'请选择提现的银行卡',
        'page.required'=>'请输入查看的页数',
        'pageSize.required'=>'请输入每页显示条数'
    ];

    protected $scene = [
        'applyWithdrawal'=>'money,bank_id',
        'getWithdrawalList'=>'page,pageSize'
    ];
}
